﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace HBS.Data
{
  public   class Utility
    {
        /// <summary>
        /// 获得web.config中配置节的数据
        /// </summary>
        /// <param name="AppName">配置名</param>
        /// <returns></returns>
        public static string GetConfigInfo(string AppName)
        {
            try
            {
                return System.Configuration.ConfigurationSettings.AppSettings[AppName];
            }
            catch
            {
                return "";
            }
        }
    }
}
